fixing some percentage bugs