add a /div where it was needed