fixes rubocop complains