bug fix - should be attr