take weight units into consideration for validation