can't get marker click function to work