* edit escape function in db.class