Call windows by ids instead of dumb hack