Fixed bugs in installment