resolve foodcritic warnings