a better fix to tooltip css issue