before adjusting should check whether need return or not Upstream-commit: c1c4ccefcdbb3cf8eb00c10b21e3f0aabc005b2a Component: engine