Fix attribute select