fixing issue with first vote being forbidden due to csrf