replaced slug-setting line