Removing command line from the none flatten lines too