fix show/hide on bugs