Fixed Bug with second sequence