fixing NPE error parsing app info