add id method to fix incorrect urls in templates