some command improvements