Fix attribute casting