removing segment.io code