fixed crazy clicking problem