wrong statespace encoding