fixed diplsay none issue