changed menu rendering & advanced search