Fix order of setting config data