delete was looking at wrong id path