fixed errors for each challenge