fixed code editor doesn't show issue when user clicks new button.