fix typing issue