fix bug: not initialize ctnt