fixed problem importing reader.h