Rewishlister function fixed