fixed create poly error with nodeedit