Fixing read order issue