fix cmd client