remove trailing semicolon from inventory number