fix bad patch