fixed bug on create_customer_package function