PLA-874 Fixed removing meta tags/ code elegance