modified mouseclick