cleanup compiler warnings
fix interpolation of window functions