small fix on the sub_mode