fix symbols dispatching
fix export declaration for emacs codex