remove extra definition of $cust_pkg