fix for attrs