fixed app detection, hopefull.