adding profiler and fix fews things in working pool