fixed voting problem (wrong id)