hotfix for closing applications v2