cleaning up publication api result