onmarkerclick method fixed