Fixed attr error