fix creation null node