read command bug fixed