bug fix for skipping loadmodel after loaddataset