fix crash when uninitialized skeleton