fixed node creation issue