inventory bg fix