bug fixed
Merge pull request #3 from CaDs/master

Empty attributes will be changed to "nil"