polls bug fixing