bug to save url log on mongodb