fix incorrect scoped linter messages
fix exception with no selection