has a strange segment error to handle