modify bug for name is null
add new