fix rubocop errors
Merge pull request #410 from jlambert121/rubocop_fix

fix rubocop errors