fixed bug ajax deleted