fixed invalid usage printing errors