fix for material folder access error