locate: fix for 4.00 and 4.01