fixed error read out