found method inlining bug, applying a fix