fixed custom menu support