fix remove compounds