fix type ignore check