fix for path permissions