Fix partial line protection issue