cleanup order attributes from db.