fixed get_application