added errorclass to some p's