fix crash when fallbacking.