fixed errors block