Fixed reading bug due to error handling system