with bug of clicking button more than once