Fixing bug where attributes were unviewable