fixed bug on the number of shared reads