fix read command