type lint bug fix