fixed divide by 100 problem