fix crash on api < 14