fixed reading issue