corrected a deadlock