fix rubocop's warnings
delete trail commas and fix rubocop's warnings
delete a trail space