fix error message about missing sources