fix api for getPollResults