remove unused
simplify, don't need window number