Correct async build for badarg