edit poll, minor bug fixes