add hide-show support