null termination of key value