Fix source analysis