validation errors fix 2

fixed p classes error