fixed licensing and application mode selection