fixed error with menu