corrected styling issues found with rubocop