remove general declarations