fix npe in potionlauncher closes #537