some fixes

the segment provided would not work because it had a space