fix change status bug