fixed the delete routing