fixed all the issues reported by the linting