fix hotspot missing function