Fix sequence definition