atleast fixed inventory adding bug