add alt-click support
function refinement.