fix percentage, closes #64