fixed a bug in /products - delete functions correctly now