remove unnecessary paragraph tags