substring too long url, since mongo can not index them