minor fixed for debug