Fixed an error in Source data handling