fix print_cash_register