fix to set reading bit - still not quite right