fixed errors8