removing apiary ref