work aroud python type system