Fix getting sources