fixed bug in __source_all