fixed bugs on ui.show ui.hide