Bug fix to show or hide.