remove package component from the attributes