remove invalide line