Type is not set on create node- fixed bug 2315