Fixing attribute view button