before removing order