fix issue #2 about click problem