removed redundant click handler