Fixed dbase bug