bugfix: sometimes controls not hide