fixed desktop core to run in jar