They were actually just the two different ways I have tried. 

I originally planned to use the first fallback (which should give identical result but turns out not to work...) and finally found the second fallback which works good enough but actually gives different results.... The hope is that since the first two attempts fail for different reasons, one of them might be fixed earlier than the other.....