ruby 2.0 fix scanner (byteslice fogotten) and  binding ruby2 change of behavior