fixed filename cases that bugs in *nix