add click event in top element
resolve conflict