improve usage function in sext