fixed compilaion issues due to malformed patch