fixed validator bug in serial