remove re-declarations