Fix error: attributes not found