fix unhide issue (bad code swap)