Revert "Fixing attribute bug #48"

This reverts commit 015d673a93b468a3771a54c2661dbe7d4bac670f.