fixed bad patch