Solve a problem deleting the last attribute.
Test get attributes and replace on amend.