fix bug with rmi multiple tag Upstream-commit: eaa9c1b97e3b28c6e2a16c7e593238bb43e1f9dc Component: engine