seq fix bug