add missing main attribute
export for node