fix the bug
    now it does accept the exsisting name