fixing null inventory menu