improve robustness of callstack parsing