fixed issues for case insensitive file systems