apiv2 fix to pending op (@litenull)