Removed small errors that linter spotted