Fixed show/hide labels issue