fix blackberry error