remove unused namespace and sort.