fix first & last strings