fix foodcritic & rubocop