fixes #2726 - smart class parameter override fails validation