minor foodcritic fixes