Fix customer is not defined