fixes #2996 - VM show screen syntax error on ruby 1.8