fix custom menu primary formatting