fix typing