set path to null when closing for base writer
fix base reader caps printing during debug