Fixed single-application instance issue

you can try :P