fix error if no config is given