fix display by default and on click envent