some bug fix input states [input] and complex states <> are excluded for now