Minor fixes for localhost, rename can press enter