fixes links to css/js files, fixes routing issue