fix error on xml register_ui , unable for api 10