fixing some linter warnings
show parse errors to the user