fixed problem with recalculate ratio, and charts for ratio, added will_paginate