fix detId bug
Merge pull request #107 from dildick/master

fix detId bug