Fixed error in wave_conv_str