Fixing getConfig