fix rubocop warrnings