got rid of build warnings, publishing after pid commands