fixing missing commandparameter types and some command cleanup