try our best to prevent deopt
Merge pull request #124 from stefanpenner/fix-deopt

try our best to prevent deopt