ref #1 Fix delay problem
* fix delay problem
* replace some static members by dynamic members