correct previous stx/terms fixes #331
cleaning