Fixed embedded sequence bug