fix the bug of more than one icon path are returned