small bug on enclosing string