introduce model validation filter