add patch to keep py file from been deleted