Fix typo in attributes generation