fixes #2776 - smart class parameter override fails validation