temporally add debug codes