[General] fixing bugs in configuraton system, should also fix issue #54