Fixed publishTo (after breaking it in 7af6eb4)