removed unnecessary click event