fixed stop command bug