remove unused member var and fix header including