fixes for inventory data entered validation