history polling is broken. all i'm getting is the same number five times