Fixed wrong line number on errors