bugfix show/hide log