fix the open tag too