inliner: fix over optimization