Fixed issue where the source was not set properly