fixed the last bugs due to urlobj edits