changed dependencies inside menu class