fix crash when guidiance was not loaded successfully