fixed hide/unhide

fixed hide/unhide