correcting menu io error