possible fix for mixed sources error