Fixing attribute bug #48