fixed await_capable detection