restocking plugin fixed