fixed issue with linking to wrong dat source