fix cross-thread inlining
fix selector