refactor clear and clean
Merge branch 'master' of https://github.com/genericsystem/genericsystem2011.git