sql fix, css clean up