fix for empty sources