Fix command bug.