fixed io issue