preventing users from emtpy voting