fixes loading configuration from files

brakes a damn test