assignment cleanup