Fixes rubocop warning