a dirty fix for a crash when a buffer loses short_name
noone in a million years would manage to trigger this crash