only validate units if value entered