fixed nested read issue