remove unnecessary duplicate line