remove some allocate dependencies