fixing rake tasks ranks and rollover