fix case sensitivity issues caused by OS X, part 2