fix for switching apps locally