fixed bug in submenue, fixed output.