fix rubocop encoding alert