make patch work