Fixed a bug when setting a config var before getting one