Fixing setting name attribute