debug threading->OK