fix bug with idles not being decremented
Merge pull request #10 from hayksaakian/master

fix bug with idles not being decremented