Fix for bad patch