fix, adding offset to rank