Fix bug about block argument of float validator