fix small bugs for un-capitalized command