fix init for NULL