fix unwanted generated p tag