close some tags properly