read cmd fix