fix prefix setting.