fixed bugs ins ctp and init debug all ctp mdules