check if reader is set
moved comment