Fix for not parsing config file correctly