publish to cosm
cleanup