fix type of source type field