fixed interp bug