Fixed error when generating the configuration