fixing inventory page