Bug fix for method inline