added scope to date validation