Fixing validation error.