fix integration with tooltip