fix assignment of ct