fixed generator mapping support linux os