Replace references to deleted variable 'sleep'