some DB/model fixes
fixed sidebar