fix sedge's r