fix directory browsing in storage resource