hot fix, added range validator