important crash fixes.