fix show/hide order