Fix command function params order