fixed the attribute setting
Merge branch 'master' of https://github.com/NickSocial/SocialWebsite