fixed delete button and new add button

the add button inputs temp values