attributes setter fix
Merge pull request #29 from goncalvesjoao/master

attributes setter fix