forgot to append NULL when creating poller. fixed.