make the code more safe against unexpected crashes.
make the code more safe against unexpected crashes.

christianparpart/x0,xzero/x0,christianparpart/x0,christianparpart/x0,christianparpart/x0,christianparpart/x0,xzero/x0,xzero/x0,christianparpart/x0,xzero/x0,xzero/x0,christianparpart/x0,xzero/x0