fix in function partial