fix deadlock

close issue #16