sleep/resume handler debug 6

hopefully final debug