remove package defs