locate: minor clean up