fix for urls and views