fixed errors5