fix for attributes