compiler: add `!this.elem` only in correct places
0.3.1