fix '*' selector, AMD support