locate: added some debug logging