fixed creation of first node