fixes voted attribute not set