fix crash with input detail value editing