fix bug, change ios show/hide trick