fixed openApp controller