fixing static urls in template