clean up assert publish all code