Fixed errors caused by using new version of linter and compiler