fixed smart rename