Fix static and template urls