fix source for compile