fix ruby binding patch