Fix Bugs with Config