get poll id from route improved