bug of multiple clicks is fixed