fix pub build warnings