slight bug fix in patchmrf