rubocop fixes implemented