Fixed problem in patch