ensure attributes exist, remove log