added security around menu items