fix line location enabled