Avoid NULL pointer if initialization fails