prevent double using statements.
check for duplicate attributes.