change locke to loc