Fix rubocop syntax failures