fixed duplicate desired name bug