fix crash in non-saliency mode