fix secondary name bug