fix crash on CE7 platform