fix awaitTraps