remove unused code, fix indents
remove unused dependency