workaround around xme bug