close scopes.
fix mknod not setting node properly