hw1 read process fix