fix command bug