revert hide func