changed position of unless statements in customer profiles