fixed tiny crash on older devices