fix poll border nesting bug