fixed paths in pages, made relative