remove alias to_h because is not supported by Ruby 1.9.3
remove warning for ruby environment