fixed a bug concerning path like "c://scr"