remove unnessasary url and comments