fix unload API
enable a new syntax definition method