fix function dblikeescape in db class