dbDelete method fixed