fixed node types declaration