fix UPCASE filename issue