correct the shop delete backend logic.