Refactors post - removes not used tags