fix vote no method error