remove code from list if used