delete duplicate code lines