fix url length too long bug