fixing sourcetype