fix img name bug on windows