fixed setVisibility