Fixed bugs in response and interpolation