moved click() to outside of once() so that the click event is sent every time.