fixed for case sensitive filesystems