fix pub-build warnings