fixing the interp error with the function application