fix the usage functions.