Fixed some linter errors