some minor corrections to patch methods