fix REMAINS