added widget and fixed some more url parsing