putting back url names and fixing view bug