fetchSingleRow wasn't used before and produced a bug. fixed now.