quick&dirty fix. the whole db stuff was broken...

remember: Test everything before committing -.-