Fix sliders when using postgres