proper erasing of unused constructs
proper erase of unused constructs