fix for uppercase/lowercase filename mismatch