fix generate_sysnames