Fix source type save