fix test tws_controller