removed debug outputs from makenil function