fix for multiple attributes