fix few bugs
add d3.tip