fix some foodcritic issues