added auto-selecting of item for map