Fixed cpu usage
Merge pull request #193 from Astonex/master

Fixed cpu usage