fix any-wrap/c for promises