fix browser path when resources are at /