fixing sources problem