Fixed the execution context of the sources initializer