remove patches in wrong format