minor modification to polls view