Set start seq and end seq correctly