fix source before link