improve framework url detection