Mobile template refactoring for exact match result