fixed crash that would occur when receiving phone calls