fix handling of auto start and popup options