clear config structure before using it