fix warnings from foodcritic