fix bug in customer.php