fixes to a patch