remove the bug of calculation month cost