fix nested start tag