corrected menu rendering