Fix controller command bug