finally fixed url, messing around with the templates