Fix sequence error