Fix syntax bug in create-poll