fix server side delete