fix tabbing, spacing issue
some error checks when creating poll