Chnage and close some tags