fix scatter tooltip content functions