corrected style issues with ruboocop