terp fix