compiler: fix elem autoinsertion
0.8.2