fixed bug with rename input