remove code swapping