fixed loc-test