Fix confighandler