bug fix for PYData when delete a dbFile