fix foodcritic warnings