corrected foodcritic warnings/errors