remove WARNING writter twice Upstream-commit: 142213ade8b91af845489b66bfddb98951a8a3ab Component: engine