fix #url handling