check where your p tag ends