fix for "query requires a window"