Fix a typo in create_element_node

I'm not sure if i'm right on your intents but this seems to be a typo, so this commit simply changes « mode » to « node ».