#326 fix bad validation