fixed doc hide, etc.