BUG: Fix common.h convert_shape_to_string.