command bug fix