fixing errorline