Duplicated percentage checking

The percentage checking was duplicated
Merge pull request #78 from infinit89/patch-1

Duplicated percentage checking