fixed the poll_interval variable type