fix parent node creation during putting