fixing validation error in #819