Fix bug: not check NontType