fix session_control_test by hack