fix tagging bug with kwargs
big compilation pipeline refactor