fix foodcritic errors