fixed match issues with votes, added deadline in seconds