fixed undefined tooltip object