Minor scoping error for p tag