Fix blade compiler reversed tags issue
Merging 4.0 to master branch.