fix rubocop failures

This looks like it could be improved but I'll allow it because I made you type it. :heart: