publish using service fixes #17