fixing errors with non existing tags