fixed rubocop violations