interactive mode setting was in wrong place