fixed the c variable with initialize value