fix foodcritic warnings of FC008