remove unneeded assignments
remove unused namespace