Fix a bug in AppFinder