fixed problem with inline menu