Fixed creation of nil variables