Fixing bugs on config file.