Fix wrong command type