fixed single file patching problem