fixed Decl iteration