strip_extension has better NA handling