determine command bug fixed