workaround for error with root="/" on windows