fixing click issue