fixing double putting digits validator on instead of float