make show/hide work