fix ac-sources bug