avoid getting exception on devices that do not support callstack