clean code

remove no-used code.