solve kind bug