Fixed getReader function no longer working