removed redundant click event