fixed errors from last night