resolved error in customer_reg