clearing of unused declarations