fixed << reading issue