Fix up setlocate