fix for prototype's horrible prototype overrides - close #627