Fix double polling + bad import.