fix #112
if document isNew use collection url