fixed the input bug, still working on the 0 and 100% bugs.