It could be that you have added too much liquid ratio to your cornmeal polenta, the ratio depends on how thick you want your polenta to be. You can fix runny polenta by adding more cornmeal to the cooking pan.