major fix in gds, add controls, modifyAtt to check