fix multiclick bug