typing attributes fix