add branch, node also delete unused classes