vote error checking. plus flik pulling from db correctly