disable edit loc when loading