fix for undefined method track_inventory? broken with 08cd46d