Fix command for optional param