fix bug in poll_interval parsing