fix sell order closing issue