Small $cmd fix