fixed bug in udf package removal