Fixed custom menu issue