Fix hidding bug