fix incorrect source types

Fixed some incorrect source types.