fix: solve issue with source mode