fix clicking issue