nasty hack added to prevent null inv menu