Fixed a problem that the patches are not being executed.