fix null pointer filehandler configinstance