fixed get_app problem on windows