fixed selector engine bug!!