fixed non-compiling without AUTOTASK ability