REST cleaning