fix issues reported by foodcritic