Fixed a bug where the wrong data folder was initialized at startup