resolve rubocop offence on ruby 1.9