fixed a small bug in algorithm/misc/prosodic_string