Fixed debug on save