Override advance typebool
Fix crashes