application instance fix