fixed some problems with the config