fixed bug when clicking on locations name