fixed weird bug after installing Ruby 2.0.0