fixed errors9