fixed api delete