fix bug for click image